<!Doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="{$gvar.l_global}favicon.ico" />
<title>{$gvar.n_index}</title>
{literal} 
<style type="text/css"> @import url({/literal}{$gvar.l_global}{literal}css/t_dark.css); </style>
<style type="text/css"> @import url({/literal}{$gvar.l_global}{literal}css/forms.css); </style>
<style type="text/css"> @import url({/literal}{$gvar.l_global}{literal}css/bootstrap.css); </style>
<style type="text/css"> @import url({/literal}{$gvar.l_global}{literal}css/propios.css); </style>

<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css">
<script src="{/literal}{$gvar.l_global}{literal}js/jquery-1.7.2.min.js"></script>
<script src="{/literal}{$gvar.l_global}{literal}js/bootstrap.js"></script>
<script src="{/literal}{$gvar.l_global}{literal}js/bootstrap-carousel.js"></script>
<script src="{/literal}{$gvar.l_global}{literal}js/bootstrap-transition.js"></script>
<script src="{/literal}{$gvar.l_global}{literal}js/header.js"></script>

<script src="{/literal}{$gvar.l_global}{literal}js/jquery.min.js"></script>
<script src="{/literal}{$gvar.l_global}{literal}js/jquery-ui.min.js"></script>

{/literal}


</head>

<body>

<header>
{if isset($smarty.session.usuario) && $smarty.get.option neq 'logout'}
<div id="header">
    <table id="header-bar" cellpadding="0" cellspacing="0">
        <tr>
            <td align="left">
                <a href="{$gvar.l_index}">
                    <img src="{$gvar.l_global}images/logo.png" />
                </a>
            </td>
<!--            <td align="right" class="header-menu">
                <a href="{$gvar.l_index}">{$gvar.n_index}</a> &bull; 
                <a href="{$gvar.l_contact}">{$gvar.n_contact}</a>
            </td>-->
            <td align="right" width="65px">
                <div id="informationUserLogin">
                {if isset($smarty.session.usuario) && $smarty.get.option neq 'logout'}
                    <div id="contenImgUserName">
                        <div id="pictureProfile">
                            <img src="{$gvar.l_global}{$smarty.session.usuario.foto}" />
                        </div>
                        <div id="userNameOfUserLogger">
                            <span>{$smarty.session.usuario.nombre}</span>
                        </div>                    
                    </div>
                        <div id="contenButtonLogout">
                             <img class="logout"onClick="location.href='{$gvar.l_index}?option=logout'"/>
                        </div>
                       
                {/if}
                </div>
<!--                <a href="http://www.twitter.com/frameworkg" target="_blank">
                    <img src="{$gvar.l_global}images/twtt.png" />
                </a>-->
            </td>
        </tr>
    </table>
</div>
{/if}
</header>

<!-- Begin content -->
<div id="content"> 
{if isset($smarty.session.usuario) && $smarty.get.option neq 'logout'}
<!-- Begin Navigation -->
<table cellpadding="0" class="navigation"><tr><td align="left" valign="top">
<div class="where_middle"><div class="where_right"><div class="where_left">
<b>{$ubicationPath}</b>
</div></div></div>
</td></tr></table>
<!-- End Navigation -->

<table cellpadding="0" cellspacing="8">
<tr><td align="left" width="180px" valign="top">
{include file='lateral.tpl'}
</td>
<td align="left" width="820px" valign="top">
 {/if}